const conn = require('../../libs/DB/Conn');
module.exports = async function (params) {
    let routeId = params.routeId;
    let updateSql = `DELETE FROM router WHERE router_id = ?`;
    await conn(updateSql, [routeId]);
    return {success: true, message: '删除成功'};
};